package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Li kexi
 * Created on 2021/8/16.14:32
 */
/**
    * 单位用户表
    */
@ApiModel(value="com-bosssoft-entity-po-FibUser")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_user")
public class FibUserPO implements Serializable {
    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="用户id")
    private Long userId;

    /**
     * 登录账号
     */
    @TableField(value = "user_username")
    @ApiModelProperty(value="登录账号")
    private String userUsername;

    /**
     * 登录密码
     */
    @TableField(value = "user_password")
    @ApiModelProperty(value="登录密码")
    private String userPassword;

    /**
     * 用户类型
     */
    @TableField(value = "user_type")
    @ApiModelProperty(value="用户类型")
    private String userType;

    /**
     * 所属财政
     */
    @TableField(value = "user_fiscal")
    @ApiModelProperty(value="所属财政")
    private Long userFiscal;

    /**
     * 所属机构
     */
    @TableField(value = "user_department")
    @ApiModelProperty(value="所属机构")
    private Long userDepartment;

    /**
     * 用户姓名
     */
    @TableField(value = "user_name")
    @ApiModelProperty(value="用户姓名")
    private String userName;

    /**
     * 证件类型
     */
    @TableField(value = "user_identity_card_type")
    @ApiModelProperty(value="证件类型")
    private Byte userIdentityCardType;

    /**
     * 证件号码
     */
    @TableField(value = "user_identity_card_num")
    @ApiModelProperty(value="证件号码")
    private String userIdentityCardNum;

    /**
     * 电子邮箱
     */
    @TableField(value = "user_email")
    @ApiModelProperty(value="电子邮箱")
    private String userEmail;

    /**
     * 联系电话
     */
    @TableField(value = "user_phone")
    @ApiModelProperty(value="联系电话")
    private String userPhone;

    /**
     * 办公电话
     */
    @TableField(value = "user_office_phone")
    @ApiModelProperty(value="办公电话")
    private String userOfficePhone;

    /**
     * 证明材料
     */
    @TableField(value = "user_material")
    @ApiModelProperty(value="证明材料")
    private String userMaterial;

    /**
     * 备注
     */
    @TableField(value = "user_note")
    @ApiModelProperty(value="备注")
    private String userNote;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="更新人")
    private String updateBy;

    /**
     * 版本
     */
    @TableField(value = "version")
    @ApiModelProperty(value="版本")
    @Version
    private Integer version;

    /**
     * 激活状态
     */
    @TableField(value = "deleted")
    @ApiModelProperty(value="激活状态")
    private Byte deleted;

    private static final long serialVersionUID = 1L;
}